package cn.tedu.store.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.Date;

@Data
public class RepariOrder {
    //select a.repairapplydept,e.empl_name,a.repairapplytype,a.repairapplydetail,
    // a.repairapplydate,a.suggestion,a.repairstate,a.repairacceptdate,a.repairoperator
    //申请单号
    private String repairApplyId;
    //申请科室
    private String repairApplydept;
    //申请人姓名
    private String repairName;
    //申请人电话
    private String repairApplyPhone;
    //维修评价
    private String repairEvaluate;
    //维修类型
    private String repairApplyType;
    //维修申请详情
    private String repairApplyDetail;
    //维修申请时间
    private String repairApplyDate;
    //意见
    private String suggestion;
    //'申请状态 1申请未接单  2申请已接单未完成 3申请已接单已完成
    private String repairState;
    //维修接收时间
    private Timestamp repairAcceptDate;

    //维修人员
    private String repairOperator;

    //维修人员
    private String repairPhone;

    private String repairapplyComplaints;

    //崔单
    private String repairApplyState;

    private String appraise;

    //领导
    private String repairLeadership;
    //领导科室
    private String repairLeadershipDept;
    //预计完成时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date repairFinishedDate;
    //推荐完成时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date repairApplyEndDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date repairEndDate;

    //图片
    private String image;

    private String wc;
    private String repairRemind;
}
